package org.zfes.snowier.common.monitor.http.okhttp3.handler;

import org.zfes.snowier.common.monitor.http.HttpRuntimeException;
import org.zfes.snowier.common.monitor.http.response.JsonResponse;
@FunctionalInterface
public interface HandlerAynscJson{

   
	default void onFailure(Exception e){
		throw new HttpRuntimeException(e);
	}
    
//    void  onSuccess(Response response);
	void onResponse(JsonResponse jsonResponse);
     
}
